package com.be.beadmin.device.dto.output;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class DeInfoExcelEx {
    @ExcelProperty("设备名称")
    private String deviceName;
    @ExcelProperty("固资编号")
    private String deviceId;
    @ExcelProperty("规格型号")
    private String deviceType;
    @ExcelProperty("品牌")
    private String manufacturer;
    @ExcelProperty("设备状态")
    private String deviceState;
    @ExcelProperty("报废日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date scrappedDate;
    @ExcelProperty("供应商")
    private String vendor;
    @ExcelProperty("联系人")
    private String contact;
    @ExcelProperty("联系方式")
    private String telephone;
    @ExcelProperty("安装位置")
    private String location;
    @ExcelProperty("设备类别")
    private String category;
    @ExcelProperty("采购编号")
    private String contractId;
    @ExcelProperty("采购日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date contractDate;





//    @ExcelProperty("唯一标识")
//    private String identification;
//    @ExcelProperty("保养周期")
//    private String serviceCycle;
//    @ExcelProperty("1月保养结果")
//    private String serviceResult1;
//    @ExcelProperty("10月保养结果")
//    private String serviceResult10;
//    @ExcelProperty("11月保养结果")
//    private String serviceResult11;
//    @ExcelProperty("12月保养结果")
//    private String serviceResult12;
//    @ExcelProperty("2月保养结果")
//    private String serviceResult2;
//    @ExcelProperty("3月保养结果")
//    private String serviceResult3;
//    @ExcelProperty("4月保养结果")
//    private String serviceResult4;
//    @ExcelProperty("5月保养结果")
//    private String serviceResult5;
//    @ExcelProperty("6月保养结果")
//    private String serviceResult6;
//    @ExcelProperty("7月保养结果")
//    private String serviceResult7;
//    @ExcelProperty("8月保养结果")
//    private String serviceResult8;
//    @ExcelProperty("9月保养结果")
//    private String serviceResult9;



}
